package Stack.Stack;

public class Test {
    public static void main(String[] args) {
        Stack<String> stack = new Stack<>();
        stack.push("a");
        stack.push("b");
        stack.push("c");
        stack.push("d");
        stack.push("e");
        System.out.println(stack.pop());
        for (String s : stack) {
            System.out.print(s + " ");
        }
        System.out.println();
        System.out.println("===========");
        System.out.println(stack.isEmpty());
        System.out.println(stack.size());
    }
}
